/*
 * @Author: mingxing.huang
 * @Date: 2020-10-31 18:14:30
 */
import Layout from '/@/layout/index.vue'
 
export default [
 
	{
		path: '/',
		component: Layout,
		redirect: '/dashboard',
		children: [
			{
				path: 'dashboard',
				name: 'Dashboard',
				component: () => import('../views/dashboard/index.vue'),
				meta: {
					title: '首页',
					icon: 'home',
					 
				}
			},
			 
		]
	},
	// {
	// 	path: '/test',
	// 	component: Layout,
	// 	redirect: '/test/t1',
	// 	children: [
	// 		{
	// 			path: '/t1',
	// 			name: 't1',
	// 			component: () => import('../views/error/403.vue'),
	// 			meta: {
	// 				title: '测试',
	// 				icon: 'align-left',

	// 			}
	// 		},

	// 	]
	// },
	{
		path: '/403',
		name: '403',  
		hidden: true,
		component: () => import('../views/error/403.vue')
	},
	{
		// https://next.router.vuejs.org/guide/migration/index.html#removed-star-or-catch-all-routes
		path: '/:path(.*)*',
		name: 'NotFound',
		hidden: true,
		component: () => import('../views/error/404.vue')
	}
]
